import request from '@/utils/request';

export async function reqTyDiagnosisEtiologyList(data: any, options?: any): Promise<any> {
	return request('/api/sys/diagnosisEtiology/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyDiagnosisEtiology(data: any, options?: any): Promise<any> {
	return request('/api/sys/diagnosisEtiology/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyDiagnosisEtiology(data: any, options?: any): Promise<any> {
	return request('/api/sys/diagnosisEtiology/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyDiagnosisEtiology(data: any, options?: any): Promise<any> {
	return request('/api/sys/diagnosisEtiology/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


